Telegram Group & Telegram Channel
# پاسخ تمرین شماره 2
def add(x, y):
return x + y
def min(x, y):
return x - y
def mul(x, y):
return x * y
def div(x, y):
return x / y
oper = ''
nums = []
num1 = int(input(' عدد اول را وارد کنید: '))
nums.append(num1)
while oper != '=':
oper = input('عملگر انتخابی خود را وارد کنید (/,*,-,+,=): ')
nums.append(oper)
if oper == '=' :
print(nums, num1)
break
num2 = int(input(' عدد بعدی را وارد کنید: '))
nums.append(num2)
if oper == '+':
num1 = add(num1, num2)
elif oper == '*':
num1 = mul(num1, num2)
elif oper == '/':
num1 = div(num1, num2)
elif oper == '-':
num1 = min(num1, num2)
print(num1)



tg-me.com/python12/1307
Create:
Last Update:

# پاسخ تمرین شماره 2
def add(x, y):
return x + y
def min(x, y):
return x - y
def mul(x, y):
return x * y
def div(x, y):
return x / y
oper = ''
nums = []
num1 = int(input(' عدد اول را وارد کنید: '))
nums.append(num1)
while oper != '=':
oper = input('عملگر انتخابی خود را وارد کنید (/,*,-,+,=): ')
nums.append(oper)
if oper == '=' :
print(nums, num1)
break
num2 = int(input(' عدد بعدی را وارد کنید: '))
nums.append(num2)
if oper == '+':
num1 = add(num1, num2)
elif oper == '*':
num1 = mul(num1, num2)
elif oper == '/':
num1 = div(num1, num2)
elif oper == '-':
num1 = min(num1, num2)
print(num1)

BY پایتون / python


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python12/1307

View MORE
Open in Telegram


پایتون python Telegram | DID YOU KNOW?

Date: |

However, analysts are positive on the stock now. “We have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.

Telegram Be The Next Best SPAC

I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.

پایتون python from jp


Telegram پایتون / python
FROM USA